from ultralytics import YOLO

# Load a model
model = YOLO(r"C:\Users\kang_\Downloads\best (1).pt")

# Customize validation settings
validation_results = model.val(data="dataset.yaml", imgsz=640, batch=16, conf=0.50, iou=0.7)
